<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : ConstantVolumeJointDef</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='ConstantVolumeJointDef::ConstantVolumeJointDef'>ConstantVolumeJointDef</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li><a href='JointDef.html#JointDef::JointDef'>JointDef</a></li></ul>
</section>

</section>

<section id="summary">

 Definition for a <code><a href='ConstantVolumeJoint.html#ConstantVolumeJoint::ConstantVolumeJoint'>ConstantVolumeJoint</a></code>, which connects a group
 a bodies together so they maintain a constant volume within them.
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='ConstantVolumeJointDef::bodies'>bodies
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='ConstantVolumeJointDef::dampingRatio'>dampingRatio
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='ConstantVolumeJointDef::frequencyHz'>frequencyHz
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='ConstantVolumeJointDef::joints'>joints
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='ConstantVolumeJointDef.html#ConstantVolumeJointDef::ConstantVolumeJointDef'>ConstantVolumeJointDef</a>()</code>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>void <a name='ConstantVolumeJointDef::addBody'>addBody</a>(<code><a href='Body.html#Body::Body'>Body</a></code> <a name='ConstantVolumeJointDef::addBody::argBody'>argBody</a>)</code></dt>
<dd>

 Adds a body to the group.
</dd>
<dt>
<code>void <a name='ConstantVolumeJointDef::addBodyAndJoint'>addBodyAndJoint</a>(<code><a href='Body.html#Body::Body'>Body</a></code> <a name='ConstantVolumeJointDef::addBodyAndJoint::argBody'>argBody</a>, <code><a href='DistanceJoint.html#DistanceJoint::DistanceJoint'>DistanceJoint</a></code> <a name='ConstantVolumeJointDef::addBodyAndJoint::argJoint'>argJoint</a>)</code></dt>
<dd>

 Adds a body and the pre-made distance joint.  Should only
 be used for deserialization.
</dd>
</dl>
</section>

<footer></footer>

</body></html>
